package com.java.lang.clon;

public class Unsupported {

    public Object clone() {
        Object obj = null;
        try {
            obj = super.clone();
        } catch (CloneNotSupportedException ex) {
            ex.printStackTrace(); // Exception was thrown java.lang.CloneNotSupportedException:
                                  // com.java.lang.clon.Unsupported
        }
        return obj;// 返回的是null
    }

    public static void main(String[] args) {
        Unsupported u = new Unsupported();
        u.clone();
    }
}
